package cn.dancepeak.system.mapper;

import cn.dancepeak.dto.LoginDto;
import cn.dancepeak.system.domain.Login;
import cn.dancepeak.system.domain.Menu;

import java.util.List;

public interface LoginMapper {

    Login selectLoginInfoByUserNameAndType(LoginDto loginDto);

    List<String> getPermissionSnsByLoginId(Long id);

    List<Menu> getMenusByLoginId(Long id);
}
